bitkeeper revision 1.7.3.58 (3e14aa78jPxKgtkJQt93U8n0Lfr_Og)
authorlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 2 Jan 2003 21:09:12 +0000 (21:09 +0000)
committerlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 2 Jan 2003 21:09:12 +0000 (21:09 +0000)
debug

xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c
xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c

index 39bd81ca39dc4aa5d846b1788efb1b4d7e623d3a..b7e087a16dc580c8c4d0f8cf76384f1ef47de49e 100644 (file)
@@ -174,8 +174,6 @@ static ssize_t dom_mem_read(struct file * file, char * buff, size_t size, loff_t
     addr = direct_mmap(mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, prot, 0, 0);
        printk(KERN_ALERT "bd240 debug: dom_mem_read: %lx, %lx @ %lx\n", mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, addr);
 
-    //addr = direct_mmap(mem_data->pfn, mem_data->tot_pages << PAGE_SHIFT, prot, 1, 
-    //                mem_data->tot_pages);
     copy_to_user((unsigned long *)buff, &addr, sizeof(addr));
 
        printk(KERN_ALERT "bd240 debug: exiting dom_mem_read\n");
index b6af06fb8c0703c44672b27c3c1a794bccd4ad29..ecedd587583d39c4d319621e4eac594404d9c4f4 100644 (file)
@@ -184,10 +184,10 @@ unsigned long direct_mmap(unsigned long phys_addr, unsigned long size,
        entry = find_direct(&current->mm->context.direct_list, addr);
        if(entry != &current->mm->context.direct_list){
                list_add_tail(&dmmap->list, entry);
-               printk(KERN_ALERT "bd240 debug: added node %lx in the middle\n", dmmap->vm_start);
+               printk(KERN_ALERT "bd240 debug: added node %lx, size %lx in the middle\n", dmmap->vm_start, size);
        } else {
        list_add_tail(&dmmap->list, &current->mm->context.direct_list);
-               printk(KERN_ALERT "bd240 debug: added node %lx at tail\n", dmmap->vm_start);
+               printk(KERN_ALERT "bd240 debug: added node %lx, size %lx at tail\n", dmmap->vm_start, size);
        }
 
     /* and perform the mapping */